package com.example.menuvirtualclient.core;

import java.util.Date;
import java.util.List;

import android.text.format.Time;

public class Order {

	private int id;
	private int status;
	private Date date;
	private int tableid;
	private int userid;
	private List<OrderDetail> orderDetails;
	
	public Order(){
		id = 0;
		status = 0;
		date = new Date();
		tableid = 0;
		userid = 0;
	}
	
	public Order(int id, int status, Date date, int tableid, int userid){
		this.id = id;
		this.status = status;
		this.date = date;
		this.tableid = tableid;
		this.userid = userid;
	}
	
	public Order(int id){
		this.id = id;
	
	}
	
	
	public int getId(){
		return id;
	}
	
	public void setId(int id){
		this.id = id;  
	}
	
	public int getStatus(){
		return status;
	}
	
	public void setStatus(int status){
		this.status = status;
	}
	
	public Date getDate(){
		return date;
	}
	
	public void setDate(Date date){
		this.date = date;
	}
	
	public int getTableId(){
		return tableid;
	}
	
	public void setTableId(int tableid){
		this.tableid = tableid;
	}
	
	public int getUserId(){
		return userid;
	}
	
	public void setUserId(int userid){
		this.userid = userid;
	}
	/*
	public List<OrderMenuItem> getOrderMenuItems(){
		return orderMenuItems;
	}
	
	public void setOrderMenuItems(List<OrderMenuItem> orderMenuItems){
		this.orderMenuItems = orderMenuItems;
	}
	*/
	
	public List<OrderDetail> getOrderDetails(){
		return orderDetails;
	}
	
	public void setOrderDetails(List<OrderDetail> orderDetails){
		this.orderDetails = orderDetails;
	}
}
